package com.chiancloud.shield.server.services.registry;


import com.chiancloud.shield.core.registry.info.ServiceInstanceData;

import java.io.IOException;
import java.net.URL;
import java.util.List;


public interface RegistryViewForProviders {
    List<ServiceInstanceData> listInstancesByType(String serviceType) throws
            IOException;

    ServiceInstanceData getSelfRegistration();

    void registerServiceInstance(
            ServiceInstanceData instanceData, URL url) throws IOException;
}
